{include file="../template/header.html" /}
<div class="my-3 my-md-5">
        <div class="col-lg-8 mx-auto">
                <div class="card">
                  <table class="table card-table table-vcenter">
                    <tbody><tr>
                        <th></th>
                        <th>店名</th>
                        <th>地址</th>
                        <th>电话</th>
                        <th>管理员</th>
                        <th>操作</th>

                    </tr>

                    {volist name="arr" id="data" key="i"}
                        <tr>
                            <td>{$i}</td>
                            <td>{$data.name}</td>
                            <th>{$data.address}</th>
                            <th>{$data.tel}</th>
                            <th>{$data.user}</th>
                            <th><a class="btn btn-sm btn-primary" href="/Branch/Edit/id/{$data.id}">修改</a>
                                <a class="btn btn-sm btn-danger {eq name='data.id' value='0'}disabled{/eq}" href="/Branch/Del/id/{$data.id}">删除</a>
                            </th>
                        </tr>
                    {/volist}
                  </tbody></table>
                </div>
              </div>

          
</div>
{include file="../template/footer.html" /}